package OOday02;

/**
 * @description: TODO
 * @author yumo
 * @version: 1.0
 * @date 2025/3/7 10:34
 */
public class OverrideaDemo {
    public static void main(String[] args) {
        Student zg= new Student("yian",1321,"张工","他说",19);
        zg.sayHi();
        Teacher kj=new Teacher(90000,"真是个",19,"紫萼速发");
        kj.sayHi();
        Doctor lk=new Doctor("第一","skjfh ",20,"shf ");
        lk.sayHi();
    }
}
